package com.luych.toolbox.docker.service.sdk.image.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;

public class DockerImagesSearchResult extends ArrayList<DockerImagesSearchResult.Image> {


    public static class Image {

        @JsonProperty("is_official")
        private Boolean official;

        @JsonProperty("is_automated")
        private Boolean automated;

        @JsonProperty("name")
        private String name;

        @JsonProperty("description")
        private String description;

        @JsonProperty("star_count")
        private Long starCount;

        public Boolean getOfficial() {
            return official;
        }

        public void setOfficial(Boolean official) {
            this.official = official;
        }

        public Boolean getAutomated() {
            return automated;
        }

        public void setAutomated(Boolean automated) {
            this.automated = automated;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public Long getStarCount() {
            return starCount;
        }

        public void setStarCount(Long starCount) {
            this.starCount = starCount;
        }

    }
}